<template>
	<view class="pay-success">
		<uni-icons type="checkmarkempty" size="50"></uni-icons>
		<button type="primary" @click="toIndex">支付成功</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		},
		methods: {
			toIndex() {
				uni.switchTab({
					url: '/pages/index/index'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
.pay-success{
	text-align: center;
}
</style>
